package cn.com.pojo;

public class Food {
    private Integer id;
    private String name;
    private String price;
    private String details;
    private String imgPath;

    public Food() {
    }

    public Food(Integer id, String name, String price, String details, String imgPath) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.details = details;
        this.imgPath = imgPath;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", details='" + details + '\'' +
                ", imgPath='" + imgPath + '\'' +
                '}';
    }
}
